package com.ruoyi.common.pojo;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: feil.long
 * Date: 2015/3/17
 * Time: 16:09
 * 生单返回信息
 */
public class AFareValidatePnrResult implements Serializable {

    private static final long serialVersionUID = -4006634821380586076L;
    /**
     * 是否生成成功
     */
    private Boolean code;

    /**
     * 错误信息(只有错误时存在)
     */
    private String msg;

    public AFareValidatePnrResult() {
    }

    public AFareValidatePnrResult(Boolean code) {
        this.code = code;
    }

    public Boolean isCode() {
        return code;
    }

    public void setCode(Boolean code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "AFareValidatePnrResult{" +
                ", code=" + code +
                ", msg='" + msg + '\'' +
                '}';
    }
}
